<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Win32k: ddemlsvr.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Win32k
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a00650.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">宏定义</a> &#124;
<a href="#func-members">函数</a> &#124;
<a href="#var-members">变量</a>  </div>
  <div class="headertitle">
<div class="title">ddemlsvr.h 文件参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><a href="a00650_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:ab4ce6907b0ad9a39e6d165350179ac4c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00650.html#ab4ce6907b0ad9a39e6d165350179ac4c">MF_INTERNAL</a>&#160;&#160;&#160;0x80000000L</td></tr>
<tr class="separator:ab4ce6907b0ad9a39e6d165350179ac4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a59b0037ee57cbbcaedc19b92de4752ba"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00650.html#a59b0037ee57cbbcaedc19b92de4752ba">ChangeMonitorFlags</a> (<a class="el" href="a00365.html#a220fc5ccf372311b02fbe4ac4ab35d31">PSVR_INSTANCE_INFO</a> psii, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> afCmdNew)</td></tr>
<tr class="separator:a59b0037ee57cbbcaedc19b92de4752ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab16384dcc46d8d656f9d5fd5d40484a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00650.html#aab16384dcc46d8d656f9d5fd5d40484a">xxxCsEvent</a> (<a class="el" href="a00365.html#af616254250e3e93b5aeb552683e8ed71">PEVENT_PACKET</a> <a class="el" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>)</td></tr>
<tr class="separator:aab16384dcc46d8d656f9d5fd5d40484a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a658e89330b998517d77be1d33e635bd1"><td class="memItemLeft" align="right" valign="top">LONG&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00650.html#a658e89330b998517d77be1d33e635bd1">xxxEventWndProc</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> message, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> wParam, LONG lParam)</td></tr>
<tr class="separator:a658e89330b998517d77be1d33e635bd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa87a519a686776ac197750e6073e2221"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00650.html#aa87a519a686776ac197750e6073e2221">xxxProcessDDEMLEvent</a> (<a class="el" href="a00365.html#a220fc5ccf372311b02fbe4ac4ab35d31">PSVR_INSTANCE_INFO</a> psii, <a class="el" href="a00365.html#af616254250e3e93b5aeb552683e8ed71">PEVENT_PACKET</a> <a class="el" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>)</td></tr>
<tr class="separator:aa87a519a686776ac197750e6073e2221"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff3f50b4985cd6ad250da7ca84148cd4"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00650.html#aff3f50b4985cd6ad250da7ca84148cd4">xxxMessageEvent</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwndTo, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> message, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> wParam, LONG lParam, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> flag, PDDEML_MSG_HOOK_DATA pdmhd)</td></tr>
<tr class="separator:aff3f50b4985cd6ad250da7ca84148cd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60c3faf394b47061f40e6c6e39c5f5ec"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00650.html#a60c3faf394b47061f40e6c6e39c5f5ec">xxxCsDdeInitialize</a> (LPDWORD phInst, HWND *phwndEvent, LPDWORD pMonitorFlags, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> afCmd, PVOID pcii)</td></tr>
<tr class="separator:a60c3faf394b47061f40e6c6e39c5f5ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1165ade079a66b64d557e61b793a11c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00650.html#ac1165ade079a66b64d557e61b793a11c">_CsUpdateInstance</a> (HANDLE hInst, LPDWORD pMonitorFlags, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> afCmd)</td></tr>
<tr class="separator:ac1165ade079a66b64d557e61b793a11c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bbf4a4463bc1dfe1c1bfa30d6a621ec"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00650.html#a8bbf4a4463bc1dfe1c1bfa30d6a621ec">_CsDdeUninitialize</a> (HANDLE hInst)</td></tr>
<tr class="separator:a8bbf4a4463bc1dfe1c1bfa30d6a621ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f12136fa17bb8e8d480fecd7431a391"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00650.html#a6f12136fa17bb8e8d480fecd7431a391">xxxDestroyThreadDDEObject</a> (<a class="el" href="a00365.html#a177dce23f2b497ba8dc22f5a92d3f3d3">PTHREADINFO</a> pti, <a class="el" href="a00365.html#a220fc5ccf372311b02fbe4ac4ab35d31">PSVR_INSTANCE_INFO</a> psii)</td></tr>
<tr class="separator:a6f12136fa17bb8e8d480fecd7431a391"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ddfe8168703f4297627c8591bffa0f5"><td class="memItemLeft" align="right" valign="top">PVOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00650.html#a7ddfe8168703f4297627c8591bffa0f5">_CsValidateInstance</a> (HANDLE hInst)</td></tr>
<tr class="separator:a7ddfe8168703f4297627c8591bffa0f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5aecce6ddbdaf76521da1d5a906fa99"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00650.html#ac5aecce6ddbdaf76521da1d5a906fa99">ClientEventCallback</a> (PVOID pcii, <a class="el" href="a00365.html#af616254250e3e93b5aeb552683e8ed71">PEVENT_PACKET</a> <a class="el" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>)</td></tr>
<tr class="separator:ac5aecce6ddbdaf76521da1d5a906fa99"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c555be42b2fb6bd81d5d7c128b96626"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00650.html#a3c555be42b2fb6bd81d5d7c128b96626">ClientGetDDEHookData</a> (<a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> message, LONG lParam, PDDEML_MSG_HOOK_DATA pdmhd)</td></tr>
<tr class="separator:a3c555be42b2fb6bd81d5d7c128b96626"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
变量</h2></td></tr>
<tr class="memitem:a285bd9fb68fc6751850f4171f6e518cd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00365.html#a220fc5ccf372311b02fbe4ac4ab35d31">PSVR_INSTANCE_INFO</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00650.html#a285bd9fb68fc6751850f4171f6e518cd">psiiList</a></td></tr>
<tr class="separator:a285bd9fb68fc6751850f4171f6e518cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeedf4ff87347e042a697331c6ca6b469"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00650.html#aeedf4ff87347e042a697331c6ca6b469">MonitorFlags</a></td></tr>
<tr class="separator:aeedf4ff87347e042a697331c6ca6b469"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">宏定义说明</h2>
<a id="ab4ce6907b0ad9a39e6d165350179ac4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab4ce6907b0ad9a39e6d165350179ac4c">&#9670;&nbsp;</a></span>MF_INTERNAL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define MF_INTERNAL&#160;&#160;&#160;0x80000000L</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00650_source.html">ddemlsvr.h</a> 第 <a class="el" href="a00650_source.html#l00014">14</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">函数说明</h2>
<a id="a8bbf4a4463bc1dfe1c1bfa30d6a621ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8bbf4a4463bc1dfe1c1bfa30d6a621ec">&#9670;&nbsp;</a></span>_CsDdeUninitialize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL _CsDdeUninitialize </td>
          <td>(</td>
          <td class="paramtype">HANDLE&#160;</td>
          <td class="paramname"><em>hInst</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00647_source.html">ddemlsvr.c</a> 第 <a class="el" href="a00647_source.html#l00110">110</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;{</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    <a class="code" href="a02853.html">PSVR_INSTANCE_INFO</a> psii;</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160; </div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    CheckCritIn();</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160; </div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    psii = <a class="code" href="a00365.html#ab993ad57b0d56b4f9b64df02256b611c">HMValidateHandleNoRip</a>(hInst, TYPE_DDEACCESS);</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;    <span class="keywordflow">if</span> (psii == NULL) {</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;        <span class="keywordflow">return</span> TRUE;</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    }</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160; </div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    <a class="code" href="a00647.html#a6f12136fa17bb8e8d480fecd7431a391">xxxDestroyThreadDDEObject</a>(<a class="code" href="a00257.html#a8315d2c807ba18ba9e528c40614b6173">PtiCurrent</a>(), psii);</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    <span class="keywordflow">return</span> TRUE;</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a03752_source.html#l00303">HMValidateHandleNoRip()</a>, <a class="el" href="a00263_source.html#l00526">PtiCurrent()</a> , 以及 <a class="el" href="a00647_source.html#l00127">xxxDestroyThreadDDEObject()</a>.</p>

</div>
</div>
<a id="ac1165ade079a66b64d557e61b793a11c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1165ade079a66b64d557e61b793a11c">&#9670;&nbsp;</a></span>_CsUpdateInstance()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> _CsUpdateInstance </td>
          <td>(</td>
          <td class="paramtype">HANDLE&#160;</td>
          <td class="paramname"><em>hInst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPDWORD&#160;</td>
          <td class="paramname"><em>pMonitorFlags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>afCmd</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00647_source.html">ddemlsvr.c</a> 第 <a class="el" href="a00647_source.html#l00088">88</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;{</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    <a class="code" href="a02853.html">PSVR_INSTANCE_INFO</a> psii;</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160; </div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    CheckCritIn();</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160; </div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    psii = (<a class="code" href="a00365.html#a220fc5ccf372311b02fbe4ac4ab35d31">PSVR_INSTANCE_INFO</a>)<a class="code" href="a00365.html#ab993ad57b0d56b4f9b64df02256b611c">HMValidateHandleNoRip</a>(hInst, TYPE_DDEACCESS);</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    <span class="keywordflow">if</span> (psii == NULL) {</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        <span class="keywordflow">return</span> DMLERR_INVALIDPARAMETER;</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    }</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    <a class="code" href="a00650.html#a59b0037ee57cbbcaedc19b92de4752ba">ChangeMonitorFlags</a>(psii, afCmd);</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    *pMonitorFlags = <a class="code" href="a00650.html#aeedf4ff87347e042a697331c6ca6b469">MonitorFlags</a>;</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    <span class="keywordflow">return</span> DMLERR_NO_ERROR;</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00677_source.html#l00062">ChangeMonitorFlags()</a>, <a class="el" href="a03752_source.html#l00303">HMValidateHandleNoRip()</a> , 以及 <a class="el" href="a00677_source.html#l00017">MonitorFlags</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03614_source.html#l02183">NtUserUpdateInstance()</a>.</p>

</div>
</div>
<a id="a7ddfe8168703f4297627c8591bffa0f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ddfe8168703f4297627c8591bffa0f5">&#9670;&nbsp;</a></span>_CsValidateInstance()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PVOID _CsValidateInstance </td>
          <td>(</td>
          <td class="paramtype">HANDLE&#160;</td>
          <td class="paramname"><em>hInst</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a59b0037ee57cbbcaedc19b92de4752ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a59b0037ee57cbbcaedc19b92de4752ba">&#9670;&nbsp;</a></span>ChangeMonitorFlags()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID ChangeMonitorFlags </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a220fc5ccf372311b02fbe4ac4ab35d31">PSVR_INSTANCE_INFO</a>&#160;</td>
          <td class="paramname"><em>psii</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>afCmdNew</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00677_source.html">event.c</a> 第 <a class="el" href="a00677_source.html#l00062">62</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;{</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <span class="keywordtype">int</span> i;</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> dwChangedFlags;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> OldMonitorFlags;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160; </div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    CheckCritIn();</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    dwChangedFlags = psii-&gt;<a class="code" href="a02853.html#a9735d28a0381236e8c20f45a431efd55">afCmd</a> ^ afCmdNew;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <span class="keywordflow">if</span> (!(dwChangedFlags &amp; <a class="code" href="a00677.html#a1a683648d17d6df035968b2f3b6269a3">MONITORED_FLAGS</a>)) {</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    }</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    psii-&gt;<a class="code" href="a02853.html#a9735d28a0381236e8c20f45a431efd55">afCmd</a> = afCmdNew;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160; </div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    OldMonitorFlags = <a class="code" href="a00677.html#aeedf4ff87347e042a697331c6ca6b469">MonitorFlags</a>;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    <a class="code" href="a00677.html#aeedf4ff87347e042a697331c6ca6b469">MonitorFlags</a> = 0;</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    <span class="keywordflow">for</span> (i = 0; i &lt; <a class="code" href="a00677.html#afed6d148721a4cc5b10ee7790ab75203">C_MONITOR_COUNT</a>; i++) {</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;        <span class="keywordflow">if</span> (dwChangedFlags &amp; <a class="code" href="a00677.html#ae3559d807d2d49135fab5f210f588f46">aMonitorCount</a>[i].flag) {</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;            <span class="keywordflow">if</span> (<a class="code" href="a00677.html#ae3559d807d2d49135fab5f210f588f46">aMonitorCount</a>[i].flag &amp; afCmdNew) {</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;                <a class="code" href="a00677.html#ae3559d807d2d49135fab5f210f588f46">aMonitorCount</a>[i].<a class="code" href="a02713.html#a45c8f1ff198e164451795c949f64747a">iCount</a>++;</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;            } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;                <a class="code" href="a00677.html#ae3559d807d2d49135fab5f210f588f46">aMonitorCount</a>[i].<a class="code" href="a02713.html#a45c8f1ff198e164451795c949f64747a">iCount</a>--;</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;            }</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;        }</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="a00677.html#ae3559d807d2d49135fab5f210f588f46">aMonitorCount</a>[i].iCount) {</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;            <a class="code" href="a00677.html#aeedf4ff87347e042a697331c6ca6b469">MonitorFlags</a> |= <a class="code" href="a00677.html#ae3559d807d2d49135fab5f210f588f46">aMonitorCount</a>[i].<a class="code" href="a02713.html#a340df49b79a651e03819f8b9f5eabb2c">flag</a>;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;        }</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    }</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <span class="keywordflow">if</span> (OldMonitorFlags != <a class="code" href="a00677.html#aeedf4ff87347e042a697331c6ca6b469">MonitorFlags</a>) {</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        <a class="code" href="a02489.html">EVENT_PACKET</a> ep;</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160; </div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;        ep.<a class="code" href="a02489.html#ad931bbe5d49de29afb20597eb9ae0bb3">EventType</a> = 0;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;        ep.<a class="code" href="a02489.html#accb7763fe0472c644c52d811f816df4c">fSense</a> = FALSE;</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;        ep.<a class="code" href="a02489.html#a019f1133637c1131f856d4110d7aafd5">cbEventData</a> = <span class="keyword">sizeof</span>(<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>);</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;        ep.<a class="code" href="a02489.html#a0a4a4395221bb5782a64a5ddb73baebd">Data</a> = <a class="code" href="a00677.html#aeedf4ff87347e042a697331c6ca6b469">MonitorFlags</a>;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        <a class="code" href="a00677.html#aab16384dcc46d8d656f9d5fd5d40484a">xxxCsEvent</a>(&amp;ep);</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    }</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00899_source.html#l02027">tagSVR_INSTANCE_INFO::afCmd</a>, <a class="el" href="a00677_source.html#l00026">aMonitorCount</a>, <a class="el" href="a00677_source.html#l00024">C_MONITOR_COUNT</a>, <a class="el" href="a00365_source.html#l00512">tagEVENT_PACKET::cbEventData</a>, <a class="el" href="a00365_source.html#l00513">tagEVENT_PACKET::Data</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00365_source.html#l00510">tagEVENT_PACKET::EventType</a>, <a class="el" href="a00677_source.html#l00021">tagMONITOR_COUNT::flag</a>, <a class="el" href="a00365_source.html#l00511">tagEVENT_PACKET::fSense</a>, <a class="el" href="a00677_source.html#l00020">tagMONITOR_COUNT::iCount</a>, <a class="el" href="a00677_source.html#l00039">MONITORED_FLAGS</a>, <a class="el" href="a00677_source.html#l00017">MonitorFlags</a> , 以及 <a class="el" href="a00677_source.html#l00114">xxxCsEvent()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00647_source.html#l00088">_CsUpdateInstance()</a>, <a class="el" href="a00647_source.html#l00017">xxxCsDdeInitialize()</a> , 以及 <a class="el" href="a00677_source.html#l00204">xxxEventWndProc()</a>.</p>

</div>
</div>
<a id="ac5aecce6ddbdaf76521da1d5a906fa99"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5aecce6ddbdaf76521da1d5a906fa99">&#9670;&nbsp;</a></span>ClientEventCallback()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> ClientEventCallback </td>
          <td>(</td>
          <td class="paramtype">PVOID&#160;</td>
          <td class="paramname"><em>pcii</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00365.html#af616254250e3e93b5aeb552683e8ed71">PEVENT_PACKET</a>&#160;</td>
          <td class="paramname"><em>pep</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">被这些函数引用 <a class="el" href="a00677_source.html#l00204">xxxEventWndProc()</a>.</p>

</div>
</div>
<a id="a3c555be42b2fb6bd81d5d7c128b96626"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c555be42b2fb6bd81d5d7c128b96626">&#9670;&nbsp;</a></span>ClientGetDDEHookData()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> ClientGetDDEHookData </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>message</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LONG&#160;</td>
          <td class="paramname"><em>lParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PDDEML_MSG_HOOK_DATA&#160;</td>
          <td class="paramname"><em>pdmhd</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">被这些函数引用 <a class="el" href="a03188_source.html#l00324">xxxDDETrackPostHook()</a>.</p>

</div>
</div>
<a id="a60c3faf394b47061f40e6c6e39c5f5ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a60c3faf394b47061f40e6c6e39c5f5ec">&#9670;&nbsp;</a></span>xxxCsDdeInitialize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> xxxCsDdeInitialize </td>
          <td>(</td>
          <td class="paramtype">LPDWORD&#160;</td>
          <td class="paramname"><em>phInst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HWND *&#160;</td>
          <td class="paramname"><em>phwndEvent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPDWORD&#160;</td>
          <td class="paramname"><em>pMonitorFlags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>afCmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PVOID&#160;</td>
          <td class="paramname"><em>pcii</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00647_source.html">ddemlsvr.c</a> 第 <a class="el" href="a00647_source.html#l00017">17</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;{</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;    <a class="code" href="a02853.html">PSVR_INSTANCE_INFO</a> psii;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;    <a class="code" href="a02449.html">LARGE_STRING</a> strClass;</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160; </div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    CheckCritIn();</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    psii = (<a class="code" href="a00365.html#a220fc5ccf372311b02fbe4ac4ab35d31">PSVR_INSTANCE_INFO</a>)<a class="code" href="a00695.html#a857d137de0592e36caec4b6e0f5021cb">HMAllocObject</a>(<a class="code" href="a00257.html#a8315d2c807ba18ba9e528c40614b6173">PtiCurrent</a>(), NULL,</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;            TYPE_DDEACCESS, <span class="keyword">sizeof</span>(<a class="code" href="a00899.html#ae72c9c142d253805abc09ebec8767c25">SVR_INSTANCE_INFO</a>));</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    <span class="keywordflow">if</span> (psii == NULL) {</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;        <span class="keywordflow">return</span> DMLERR_SYS_ERROR;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    }</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160; </div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment">     * We have to tell CreateWindow that window is not created for the same</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment">     * module has the app, (CW_FLAGS_DIFFHMOD), so CreateWindow doesn&#39;t</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment">     * assign a hotkey to this window.  Other window are done in the</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment">     * client-server thunk</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    <a class="code" href="a00365.html#a4dddfac60ddaa5a11f91719826b7b270">RtlInitLargeUnicodeString</a>((<a class="code" href="a02457.html">PLARGE_UNICODE_STRING</a>)&amp;strClass,</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;            <a class="code" href="a03257.html#a1a25b2f7b86446546fbe19a67e20fc2a">gpwszDDEMLEVENTCLASS</a>, (<a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>)-1);</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    Lock(&amp;(psii-&gt;<a class="code" href="a02853.html#aaf360baf59a422f99853d05627f85954">spwndEvent</a>), xxxCreateWindowEx(</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;            0,</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;            &amp;strClass,</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;            NULL,</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;            WS_POPUP | WS_CHILD,</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;            0, 0, 0, 0,</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;            (<a class="code" href="a02581.html">PWND</a>)NULL,</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;            (<a class="code" href="a02625.html">PMENU</a>)NULL,</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;            <a class="code" href="a03257.html#a4ae1966258068576cf2be4cc7356924b">hModuleWin</a>,</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;            NULL,</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;            CW_FLAGS_DIFFHMOD | VER31));</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160; </div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    <span class="keywordflow">if</span> (psii-&gt;<a class="code" href="a02853.html#aaf360baf59a422f99853d05627f85954">spwndEvent</a> == NULL) {</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        <a class="code" href="a00695.html#a4e6ee8871cf6323bdd048608605667b1">HMFreeObject</a>((PVOID)psii);</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;        <span class="keywordflow">return</span> DMLERR_SYS_ERROR;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    }</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="comment">     * This GWL offset does NOT leave the critical section!</span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <a class="code" href="a03242.html#a5fe71cbbe99e9b25808ced78e3bc5b32">xxxSetWindowLong</a>(psii-&gt;<a class="code" href="a02853.html#aaf360baf59a422f99853d05627f85954">spwndEvent</a>, GWL_PSII, (LONG)psii, FALSE);</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    psii-&gt;<a class="code" href="a02853.html#a9735d28a0381236e8c20f45a431efd55">afCmd</a> = 0;</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    psii-&gt;<a class="code" href="a02853.html#a903db7dd99f0caea5f955a1be662b6cd">pcii</a> = pcii;</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <span class="comment">// Link into global list</span></div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    psii-&gt;<a class="code" href="a02853.html#ad2a9221d4b6ea846e1234e053043f843">next</a> = <a class="code" href="a00647.html#a285bd9fb68fc6751850f4171f6e518cd">psiiList</a>;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <a class="code" href="a00647.html#a285bd9fb68fc6751850f4171f6e518cd">psiiList</a> = psii;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160; </div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <span class="comment">// Link into per-process list</span></div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    psii-&gt;<a class="code" href="a02853.html#a1e282ec8e4fc8b8fb6975e40e2430e64">nextInThisThread</a> = <a class="code" href="a00257.html#a8315d2c807ba18ba9e528c40614b6173">PtiCurrent</a>()-&gt;<a class="code" href="a02889.html#a285bd9fb68fc6751850f4171f6e518cd">psiiList</a>;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    <a class="code" href="a00257.html#a8315d2c807ba18ba9e528c40614b6173">PtiCurrent</a>()-&gt;<a class="code" href="a02889.html#a285bd9fb68fc6751850f4171f6e518cd">psiiList</a> = psii;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160; </div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    *phInst = (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)PtoH(psii);</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    *phwndEvent = PtoH(psii-&gt;<a class="code" href="a02853.html#aaf360baf59a422f99853d05627f85954">spwndEvent</a>);</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    <a class="code" href="a00650.html#a59b0037ee57cbbcaedc19b92de4752ba">ChangeMonitorFlags</a>(psii, afCmd);        <span class="comment">// sets psii-&gt;afCmd;</span></div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    *pMonitorFlags = <a class="code" href="a00650.html#aeedf4ff87347e042a697331c6ca6b469">MonitorFlags</a>;</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    <span class="keywordflow">return</span> DMLERR_NO_ERROR;</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00677_source.html#l00062">ChangeMonitorFlags()</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a03257_source.html#l00278">gpwszDDEMLEVENTCLASS</a>, <a class="el" href="a00695_source.html#l00314">HMAllocObject()</a>, <a class="el" href="a00695_source.html#l00575">HMFreeObject()</a>, <a class="el" href="a03257_source.html#l00324">hModuleWin</a>, <a class="el" href="a00677_source.html#l00017">MonitorFlags</a>, <a class="el" href="a00899_source.html#l02026">tagSVR_INSTANCE_INFO::nextInThisThread</a>, <a class="el" href="a00647_source.html#l00015">psiiList</a>, <a class="el" href="a00899_source.html#l02320">tagTHREADINFO::psiiList</a>, <a class="el" href="a00263_source.html#l00526">PtiCurrent()</a>, <a class="el" href="a00932_source.html#l00587">RtlInitLargeUnicodeString()</a>, <a class="el" href="a00899_source.html#l02028">tagSVR_INSTANCE_INFO::spwndEvent</a>, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT()</a> , 以及 <a class="el" href="a03242_source.html#l00256">xxxSetWindowLong()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03614_source.html#l02148">NtUserDdeInitialize()</a>.</p>

</div>
</div>
<a id="aab16384dcc46d8d656f9d5fd5d40484a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab16384dcc46d8d656f9d5fd5d40484a">&#9670;&nbsp;</a></span>xxxCsEvent()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> xxxCsEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#af616254250e3e93b5aeb552683e8ed71">PEVENT_PACKET</a>&#160;</td>
          <td class="paramname"><em>pep</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00677_source.html">event.c</a> 第 <a class="el" href="a00677_source.html#l00114">114</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;{</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    <a class="code" href="a02853.html">PSVR_INSTANCE_INFO</a> psiiT;</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;    <a class="code" href="a02489.html">PEVENT_PACKET</a> pep2;</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    HWND *ahwndEvent = NULL;</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    <a class="code" href="a02581.html">PWND</a> pwnd;</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    <span class="keywordtype">int</span> cHwndAllocated, i, cTargets;</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    <a class="code" href="a01881.html">TL</a> tlpwnd;</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    <a class="code" href="a01881.html">TL</a> tlpep2;</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    <a class="code" href="a01881.html">TL</a> tlahwndEvent;</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    <a class="code" href="a02889.html">PTHREADINFO</a> pti = <a class="code" href="a00257.html#a8315d2c807ba18ba9e528c40614b6173">PtiCurrent</a>();</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160; </div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    CheckCritIn();</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160; </div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="comment">     * Copy pep info to a server side stable area</span></div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    pep2 = (<a class="code" href="a00365.html#af616254250e3e93b5aeb552683e8ed71">PEVENT_PACKET</a>)UserAllocPoolWithQuota(<a class="code" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>-&gt;cbEventData +</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;            <span class="keyword">sizeof</span>(<a class="code" href="a02489.html">EVENT_PACKET</a>) - <span class="keyword">sizeof</span>(<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>), TAG_DDE5);</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    <span class="keywordflow">if</span> (pep2 == NULL) {</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;        <span class="keywordflow">return</span> DMLERR_MEMORY_ERROR;</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    }</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    <span class="keywordflow">try</span> {</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;        RtlCopyMemory((LPSTR)pep2, (LPSTR)<a class="code" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>,</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;                <a class="code" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>-&gt;cbEventData + <span class="keyword">sizeof</span>(<a class="code" href="a02489.html">EVENT_PACKET</a>) - <span class="keyword">sizeof</span>(<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>));</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    } except (EXCEPTION_EXECUTE_HANDLER) {</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;        UserFreePool(pep2);</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;        <span class="keywordflow">return</span> DMLERR_INVALIDPARAMETER;</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    }</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160; </div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    cTargets = 0;</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160; </div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    <span class="keywordflow">for</span> (psiiT = <a class="code" href="a00647.html#a285bd9fb68fc6751850f4171f6e518cd">psiiList</a>; psiiT != NULL; psiiT =  psiiT-&gt;<a class="code" href="a02853.html#ad2a9221d4b6ea846e1234e053043f843">next</a>) {</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;        <span class="comment">//</span></div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;        <span class="comment">// Don&#39;t bother with event windows for instances who&#39;s flags</span></div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;        <span class="comment">// indicate they&#39;re not interrested in the event.</span></div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;        <span class="comment">//</span></div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;        <span class="keywordflow">if</span> (((psiiT-&gt;<a class="code" href="a02853.html#a9735d28a0381236e8c20f45a431efd55">afCmd</a> &amp; pep2-&gt;<a class="code" href="a02489.html#ad931bbe5d49de29afb20597eb9ae0bb3">EventType</a>) &amp;&amp; !pep2-&gt;<a class="code" href="a02489.html#accb7763fe0472c644c52d811f816df4c">fSense</a>) ||</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;                (!(psiiT-&gt;<a class="code" href="a02853.html#a9735d28a0381236e8c20f45a431efd55">afCmd</a> &amp; pep2-&gt;<a class="code" href="a02489.html#ad931bbe5d49de29afb20597eb9ae0bb3">EventType</a>) &amp;&amp; pep2-&gt;<a class="code" href="a02489.html#accb7763fe0472c644c52d811f816df4c">fSense</a>)) {</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;            <span class="keywordflow">continue</span>;</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;        }</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160; </div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;        <span class="keywordflow">if</span> (ahwndEvent == NULL) {</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;            cHwndAllocated = 8;</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;            ahwndEvent = (HWND *)UserAllocPoolWithQuota(</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;                    <span class="keyword">sizeof</span>(HWND) * cHwndAllocated,</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;                    TAG_DDE6);</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;        } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (cTargets &gt;= cHwndAllocated) {</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;            <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> dwSize = cHwndAllocated * <span class="keyword">sizeof</span>(HWND);</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160; </div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;            cHwndAllocated += 8;</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;            ahwndEvent = (HWND *)UserReAllocPoolWithQuota(ahwndEvent, dwSize,</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;                    <span class="keyword">sizeof</span>(HWND) * cHwndAllocated, TAG_DDE7);</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;        }</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;        ahwndEvent[cTargets++] = PtoH(psiiT-&gt;<a class="code" href="a02853.html#aaf360baf59a422f99853d05627f85954">spwndEvent</a>);</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;    }</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160; </div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;    ThreadLockPool(pti, pep2, &amp;tlpep2);</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;    <span class="keywordflow">if</span> (ahwndEvent != NULL) {</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;        ThreadLockPool(pti, ahwndEvent, &amp;tlahwndEvent);</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;        <span class="keywordflow">for</span> (i = 0; i &lt; cTargets; i++) {</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;<span class="comment">             * We need to change contexts for the callback</span></div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;            pwnd = <a class="code" href="a00293.html#a41d387d1b2d42169cbaa2092c8a02abf">ValidateHwnd</a>(ahwndEvent[i]);</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;            <span class="keywordflow">if</span> (pwnd != NULL) {</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;                ThreadLockAlwaysWithPti(pti, pwnd, &amp;tlpwnd);</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;                <a class="code" href="a00842.html#a69cf2e14dcefd941469ad5126e40f79a">xxxSendMessage</a>(pwnd, WM_DDEMLEVENT, 0, (LONG)pep2);</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;                ThreadUnlock(&amp;tlpwnd);</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;            }</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;        }</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;        ThreadUnlockAndFreePool(pti, &amp;tlahwndEvent);</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;    }</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;    ThreadUnlockAndFreePool(pti, &amp;tlpep2);</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00899_source.html#l02027">tagSVR_INSTANCE_INFO::afCmd</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00365_source.html#l00510">tagEVENT_PACKET::EventType</a>, <a class="el" href="a00365_source.html#l00511">tagEVENT_PACKET::fSense</a>, <a class="el" href="a00899_source.html#l02025">tagSVR_INSTANCE_INFO::next</a>, <a class="el" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>, <a class="el" href="a00647_source.html#l00015">psiiList</a>, <a class="el" href="a00263_source.html#l00526">PtiCurrent()</a>, <a class="el" href="a00899_source.html#l02028">tagSVR_INSTANCE_INFO::spwndEvent</a>, <a class="el" href="a00293_source.html#l00090">ValidateHwnd</a> , 以及 <a class="el" href="a00842_source.html#l00613">xxxSendMessage()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00677_source.html#l00062">ChangeMonitorFlags()</a>, <a class="el" href="a03614_source.html#l02205">NtUserEvent()</a> , 以及 <a class="el" href="a00677_source.html#l00250">xxxMessageEvent()</a>.</p>

</div>
</div>
<a id="a6f12136fa17bb8e8d480fecd7431a391"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f12136fa17bb8e8d480fecd7431a391">&#9670;&nbsp;</a></span>xxxDestroyThreadDDEObject()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID xxxDestroyThreadDDEObject </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a177dce23f2b497ba8dc22f5a92d3f3d3">PTHREADINFO</a>&#160;</td>
          <td class="paramname"><em>pti</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00365.html#a220fc5ccf372311b02fbe4ac4ab35d31">PSVR_INSTANCE_INFO</a>&#160;</td>
          <td class="paramname"><em>psii</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00647_source.html">ddemlsvr.c</a> 第 <a class="el" href="a00647_source.html#l00127">127</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;{</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    <a class="code" href="a02853.html">PSVR_INSTANCE_INFO</a> psiiT;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160; </div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;    CheckCritIn();</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160; </div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    <span class="keywordflow">if</span> (HMIsMarkDestroy(psii)) {</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    }</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160; </div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    <span class="comment">// Unlink psii from the global list.</span></div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    <span class="keywordflow">if</span> (psii == <a class="code" href="a00647.html#a285bd9fb68fc6751850f4171f6e518cd">psiiList</a>) {</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;        <a class="code" href="a00647.html#a285bd9fb68fc6751850f4171f6e518cd">psiiList</a> = psii-&gt;<a class="code" href="a02853.html#ad2a9221d4b6ea846e1234e053043f843">next</a>;</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;        <span class="keywordflow">for</span> (psiiT = <a class="code" href="a00647.html#a285bd9fb68fc6751850f4171f6e518cd">psiiList</a>; psiiT-&gt;<a class="code" href="a02853.html#ad2a9221d4b6ea846e1234e053043f843">next</a> != psii; psiiT = psiiT-&gt;<a class="code" href="a02853.html#ad2a9221d4b6ea846e1234e053043f843">next</a>) {</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;            <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(psiiT-&gt;<a class="code" href="a02853.html#ad2a9221d4b6ea846e1234e053043f843">next</a> != NULL);</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;        }</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;        psiiT-&gt;<a class="code" href="a02853.html#ad2a9221d4b6ea846e1234e053043f843">next</a> = psii-&gt;<a class="code" href="a02853.html#ad2a9221d4b6ea846e1234e053043f843">next</a>;</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    }</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    <span class="comment">// psii-&gt;next = NULL;</span></div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160; </div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    <span class="comment">// Unlink psii from the per-process list.</span></div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;    <span class="comment">//</span></div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    <span class="keywordflow">if</span> (psii == pti-&gt;<a class="code" href="a02889.html#a285bd9fb68fc6751850f4171f6e518cd">psiiList</a>) {</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;        pti-&gt;<a class="code" href="a02889.html#a285bd9fb68fc6751850f4171f6e518cd">psiiList</a> = psii-&gt;<a class="code" href="a02853.html#a1e282ec8e4fc8b8fb6975e40e2430e64">nextInThisThread</a>;</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;        <span class="keywordflow">for</span> (psiiT = pti-&gt;<a class="code" href="a02889.html#a285bd9fb68fc6751850f4171f6e518cd">psiiList</a>; psiiT-&gt;<a class="code" href="a02853.html#a1e282ec8e4fc8b8fb6975e40e2430e64">nextInThisThread</a> != psii; psiiT = psiiT-&gt;<a class="code" href="a02853.html#a1e282ec8e4fc8b8fb6975e40e2430e64">nextInThisThread</a>) {</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;            <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(psiiT-&gt;<a class="code" href="a02853.html#a1e282ec8e4fc8b8fb6975e40e2430e64">nextInThisThread</a> != NULL);</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;        }</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;        psiiT-&gt;<a class="code" href="a02853.html#a1e282ec8e4fc8b8fb6975e40e2430e64">nextInThisThread</a> = psii-&gt;<a class="code" href="a02853.html#a1e282ec8e4fc8b8fb6975e40e2430e64">nextInThisThread</a>;</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;    }</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;    <span class="comment">// psii-&gt;nextInThisThread = NULL;</span></div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160; </div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="a00695.html#aa3a7eff0cc4eabef6217efe2eba1e47f">HMMarkObjectDestroy</a>(psii)) {</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;        <a class="code" href="a00635.html#a5a00338a3147879f7fa0ecb4a938cd8c">xxxDestroyWindow</a>(psii-&gt;<a class="code" href="a02853.html#aaf360baf59a422f99853d05627f85954">spwndEvent</a>);</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;        Unlock(&amp;(psii-&gt;<a class="code" href="a02853.html#aaf360baf59a422f99853d05627f85954">spwndEvent</a>));</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160; </div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;        <a class="code" href="a00695.html#a4e6ee8871cf6323bdd048608605667b1">HMFreeObject</a>(psii);</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;    }</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00695_source.html#l00575">HMFreeObject()</a>, <a class="el" href="a00695_source.html#l00757">HMMarkObjectDestroy()</a>, <a class="el" href="a00899_source.html#l02025">tagSVR_INSTANCE_INFO::next</a>, <a class="el" href="a00899_source.html#l02026">tagSVR_INSTANCE_INFO::nextInThisThread</a>, <a class="el" href="a00647_source.html#l00015">psiiList</a>, <a class="el" href="a00899_source.html#l02320">tagTHREADINFO::psiiList</a>, <a class="el" href="a00899_source.html#l02028">tagSVR_INSTANCE_INFO::spwndEvent</a>, <a class="el" href="a00950_source.html#l00117">UserAssert</a> , 以及 <a class="el" href="a00635_source.html#l01273">xxxDestroyWindow()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00647_source.html#l00110">_CsDdeUninitialize()</a>, <a class="el" href="a03614_source.html#l02148">NtUserDdeInitialize()</a> , 以及 <a class="el" href="a00824_source.html#l01766">xxxDestroyThreadInfo()</a>.</p>

</div>
</div>
<a id="a658e89330b998517d77be1d33e635bd1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a658e89330b998517d77be1d33e635bd1">&#9670;&nbsp;</a></span>xxxEventWndProc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LONG xxxEventWndProc </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>message</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>wParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LONG&#160;</td>
          <td class="paramname"><em>lParam</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00677_source.html">event.c</a> 第 <a class="el" href="a00677_source.html#l00204">204</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;{</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;    <a class="code" href="a02853.html">PSVR_INSTANCE_INFO</a> psii;</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160; </div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;    CheckCritIn();</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;    <a class="code" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock</a>(pwnd);</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160; </div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;    psii = (<a class="code" href="a00365.html#a220fc5ccf372311b02fbe4ac4ab35d31">PSVR_INSTANCE_INFO</a>)<a class="code" href="a00365.html#a8825dfa6397f98fa6be0dcbf10e57c7d">_GetWindowLong</a>(pwnd, GWL_PSII, FALSE);</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160; </div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;    <span class="keywordflow">switch</span> (message) {</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;    <span class="keywordflow">case</span> WM_DDEMLEVENT:</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;<span class="preprocessor">#define pep ((PEVENT_PACKET)lParam)</span></div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;        <span class="keywordflow">if</span> (((psii-&gt;<a class="code" href="a02853.html#a9735d28a0381236e8c20f45a431efd55">afCmd</a> &amp; <a class="code" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>-&gt;EventType) &amp;&amp; <a class="code" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>-&gt;fSense) ||</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;                (!(psii-&gt;<a class="code" href="a02853.html#a9735d28a0381236e8c20f45a431efd55">afCmd</a> &amp; <a class="code" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>-&gt;EventType) &amp;&amp; !<a class="code" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>-&gt;fSense)) {</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;            <a class="code" href="a00650.html#ac5aecce6ddbdaf76521da1d5a906fa99">ClientEventCallback</a>(psii-&gt;<a class="code" href="a02853.html#a903db7dd99f0caea5f955a1be662b6cd">pcii</a>, <a class="code" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>);</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;        }</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;<span class="preprocessor">#undef pep</span></div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160; </div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;    <span class="keywordflow">case</span> WM_DESTROY:</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;        <a class="code" href="a00677.html#a59b0037ee57cbbcaedc19b92de4752ba">ChangeMonitorFlags</a>(psii, 0);</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160; </div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;    <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="a00671.html#af0a7cefc146c51b12208e692b0f67960">xxxDefWindowProc</a>(pwnd, message, wParam, lParam);</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;    }</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;    <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a03248_source.html#l00028">_GetWindowLong()</a>, <a class="el" href="a00899_source.html#l02027">tagSVR_INSTANCE_INFO::afCmd</a>, <a class="el" href="a00677_source.html#l00062">ChangeMonitorFlags()</a>, <a class="el" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock()</a>, <a class="el" href="a00650.html#ac5aecce6ddbdaf76521da1d5a906fa99">ClientEventCallback()</a>, <a class="el" href="a00899_source.html#l02029">tagSVR_INSTANCE_INFO::pcii</a>, <a class="el" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a> , 以及 <a class="el" href="a00671_source.html#l01146">xxxDefWindowProc()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00719_source.html#l01070">LW_RegisterWindows()</a>.</p>

</div>
</div>
<a id="aff3f50b4985cd6ad250da7ca84148cd4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff3f50b4985cd6ad250da7ca84148cd4">&#9670;&nbsp;</a></span>xxxMessageEvent()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID xxxMessageEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwndTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>message</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>wParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LONG&#160;</td>
          <td class="paramname"><em>lParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>flag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PDDEML_MSG_HOOK_DATA&#160;</td>
          <td class="paramname"><em>pdmhd</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00677_source.html">event.c</a> 第 <a class="el" href="a00677_source.html#l00250">250</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;{</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;    <a class="code" href="a02489.html">PEVENT_PACKET</a> <a class="code" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>;</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;    <a class="code" href="a02581.html">PWND</a> pwndFrom;</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;    <a class="code" href="a01881.html">TL</a> tlpep;</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;    <a class="code" href="a02889.html">PTHREADINFO</a> pti;</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160; </div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;    CheckCritIn();</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160; </div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;    <a class="code" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a> = (<a class="code" href="a00365.html#af616254250e3e93b5aeb552683e8ed71">PEVENT_PACKET</a>)UserAllocPoolWithQuota(<span class="keyword">sizeof</span>(<a class="code" href="a02489.html">EVENT_PACKET</a>) -</div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;            <span class="keyword">sizeof</span>(<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>) + <span class="keyword">sizeof</span>(MONMSGSTRUCT), TAG_DDE8);</div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a> == NULL) {</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;    }</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;    <a class="code" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>-&gt;EventType = flag;</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;    <a class="code" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>-&gt;fSense = TRUE;</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;    <a class="code" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>-&gt;cbEventData = <span class="keyword">sizeof</span>(MONMSGSTRUCT);</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;<span class="preprocessor">#define pmsgs ((MONMSGSTRUCT *)&amp;pep-&gt;Data)</span></div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;    <a class="code" href="a00677.html#aaf276357d4abd2fa6d154ad087db3835">pmsgs</a>-&gt;cb = <span class="keyword">sizeof</span>(MONMSGSTRUCT);</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;    <a class="code" href="a00677.html#aaf276357d4abd2fa6d154ad087db3835">pmsgs</a>-&gt;hwndTo = PtoH(pwndTo);</div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;    <a class="code" href="a00677.html#aaf276357d4abd2fa6d154ad087db3835">pmsgs</a>-&gt;dwTime = NtGetTickCount();</div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160; </div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;    pwndFrom = RevalidateHwnd((HWND)wParam);</div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;    <span class="keywordflow">if</span> (pwndFrom != NULL) {</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;        <a class="code" href="a00677.html#aaf276357d4abd2fa6d154ad087db3835">pmsgs</a>-&gt;hTask = GETPTI(pwndFrom)-&gt;Thread-&gt;Cid.UniqueThread;</div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;        <a class="code" href="a00677.html#aaf276357d4abd2fa6d154ad087db3835">pmsgs</a>-&gt;hTask = 0;</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;    }</div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160; </div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;    <a class="code" href="a00677.html#aaf276357d4abd2fa6d154ad087db3835">pmsgs</a>-&gt;wMsg = message;</div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;    <a class="code" href="a00677.html#aaf276357d4abd2fa6d154ad087db3835">pmsgs</a>-&gt;wParam = wParam;</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;    <a class="code" href="a00677.html#aaf276357d4abd2fa6d154ad087db3835">pmsgs</a>-&gt;lParam = lParam;</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;    <span class="keywordflow">if</span> (pdmhd != NULL) {</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;        <a class="code" href="a00677.html#aaf276357d4abd2fa6d154ad087db3835">pmsgs</a>-&gt;dmhd = *pdmhd;</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;    }</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;<span class="preprocessor">#undef pmsgs</span></div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;    pti = <a class="code" href="a00257.html#a8315d2c807ba18ba9e528c40614b6173">PtiCurrent</a>();</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;    ThreadLockPool(pti, <a class="code" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>, &amp;tlpep);</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;    <a class="code" href="a00677.html#aab16384dcc46d8d656f9d5fd5d40484a">xxxCsEvent</a>(<a class="code" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>);</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;    ThreadUnlockAndFreePool(pti, &amp;tlpep);</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a>, <a class="el" href="a00677.html#aaf276357d4abd2fa6d154ad087db3835">pmsgs</a>, <a class="el" href="a00263_source.html#l00526">PtiCurrent()</a> , 以及 <a class="el" href="a00677_source.html#l00114">xxxCsEvent()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03188_source.html#l00324">xxxDDETrackPostHook()</a> , 以及 <a class="el" href="a03188_source.html#l00157">xxxDDETrackSendHook()</a>.</p>

</div>
</div>
<a id="aa87a519a686776ac197750e6073e2221"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa87a519a686776ac197750e6073e2221">&#9670;&nbsp;</a></span>xxxProcessDDEMLEvent()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID xxxProcessDDEMLEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a220fc5ccf372311b02fbe4ac4ab35d31">PSVR_INSTANCE_INFO</a>&#160;</td>
          <td class="paramname"><em>psii</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00365.html#af616254250e3e93b5aeb552683e8ed71">PEVENT_PACKET</a>&#160;</td>
          <td class="paramname"><em>pep</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">变量说明</h2>
<a id="aeedf4ff87347e042a697331c6ca6b469"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeedf4ff87347e042a697331c6ca6b469">&#9670;&nbsp;</a></span>MonitorFlags</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> MonitorFlags</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00677_source.html">event.c</a> 第 <a class="el" href="a00677_source.html#l00017">17</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00647_source.html#l00088">_CsUpdateInstance()</a>, <a class="el" href="a00677_source.html#l00062">ChangeMonitorFlags()</a>, <a class="el" href="a00647_source.html#l00017">xxxCsDdeInitialize()</a>, <a class="el" href="a03188_source.html#l00324">xxxDDETrackPostHook()</a> , 以及 <a class="el" href="a03188_source.html#l00157">xxxDDETrackSendHook()</a>.</p>

</div>
</div>
<a id="a285bd9fb68fc6751850f4171f6e518cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a285bd9fb68fc6751850f4171f6e518cd">&#9670;&nbsp;</a></span>psiiList</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00365.html#a220fc5ccf372311b02fbe4ac4ab35d31">PSVR_INSTANCE_INFO</a> psiiList</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00647_source.html">ddemlsvr.c</a> 第 <a class="el" href="a00647_source.html#l00015">15</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00647_source.html#l00017">xxxCsDdeInitialize()</a>, <a class="el" href="a00677_source.html#l00114">xxxCsEvent()</a> , 以及 <a class="el" href="a00647_source.html#l00127">xxxDestroyThreadDDEObject()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aa00650_html_a59b0037ee57cbbcaedc19b92de4752ba"><div class="ttname"><a href="a00650.html#a59b0037ee57cbbcaedc19b92de4752ba">ChangeMonitorFlags</a></div><div class="ttdeci">VOID ChangeMonitorFlags(PSVR_INSTANCE_INFO psii, DWORD afCmdNew)</div><div class="ttdef"><b>Definition:</b> <a href="a00677_source.html#l00062">event.c:62</a></div></div>
<div class="ttc" id="aa00677_html_afed6d148721a4cc5b10ee7790ab75203"><div class="ttname"><a href="a00677.html#afed6d148721a4cc5b10ee7790ab75203">C_MONITOR_COUNT</a></div><div class="ttdeci">#define C_MONITOR_COUNT</div><div class="ttdef"><b>Definition:</b> <a href="a00677_source.html#l00024">event.c:24</a></div></div>
<div class="ttc" id="aa02489_html_a0a4a4395221bb5782a64a5ddb73baebd"><div class="ttname"><a href="a02489.html#a0a4a4395221bb5782a64a5ddb73baebd">tagEVENT_PACKET::Data</a></div><div class="ttdeci">DWORD Data</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00513">user.h:513</a></div></div>
<div class="ttc" id="aa02713_html_a340df49b79a651e03819f8b9f5eabb2c"><div class="ttname"><a href="a02713.html#a340df49b79a651e03819f8b9f5eabb2c">tagMONITOR_COUNT::flag</a></div><div class="ttdeci">DWORD flag</div><div class="ttdef"><b>Definition:</b> <a href="a00677_source.html#l00021">event.c:21</a></div></div>
<div class="ttc" id="aa02853_html"><div class="ttname"><a href="a02853.html">tagSVR_INSTANCE_INFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02023">userk.h:2023</a></div></div>
<div class="ttc" id="aa00677_html_a1a683648d17d6df035968b2f3b6269a3"><div class="ttname"><a href="a00677.html#a1a683648d17d6df035968b2f3b6269a3">MONITORED_FLAGS</a></div><div class="ttdeci">#define MONITORED_FLAGS</div><div class="ttdef"><b>Definition:</b> <a href="a00677_source.html#l00039">event.c:39</a></div></div>
<div class="ttc" id="aa00671_html_af0a7cefc146c51b12208e692b0f67960"><div class="ttname"><a href="a00671.html#af0a7cefc146c51b12208e692b0f67960">xxxDefWindowProc</a></div><div class="ttdeci">LONG xxxDefWindowProc(PWND pwnd, UINT message, DWORD wParam, LONG lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00671_source.html#l01146">dwp.c:1146</a></div></div>
<div class="ttc" id="aa00650_html_ac5aecce6ddbdaf76521da1d5a906fa99"><div class="ttname"><a href="a00650.html#ac5aecce6ddbdaf76521da1d5a906fa99">ClientEventCallback</a></div><div class="ttdeci">DWORD ClientEventCallback(PVOID pcii, PEVENT_PACKET pep)</div></div>
<div class="ttc" id="aa00695_html_aa3a7eff0cc4eabef6217efe2eba1e47f"><div class="ttname"><a href="a00695.html#aa3a7eff0cc4eabef6217efe2eba1e47f">HMMarkObjectDestroy</a></div><div class="ttdeci">BOOL HMMarkObjectDestroy(PVOID pobj)</div><div class="ttdef"><b>Definition:</b> <a href="a00695_source.html#l00757">handtabl.c:757</a></div></div>
<div class="ttc" id="aa00695_html_a857d137de0592e36caec4b6e0f5021cb"><div class="ttname"><a href="a00695.html#a857d137de0592e36caec4b6e0f5021cb">HMAllocObject</a></div><div class="ttdeci">PVOID HMAllocObject(PTHREADINFO ptiOwner, PDESKTOP pdeskSrc, BYTE bType, DWORD size)</div><div class="ttdef"><b>Definition:</b> <a href="a00695_source.html#l00314">handtabl.c:314</a></div></div>
<div class="ttc" id="aa02853_html_a903db7dd99f0caea5f955a1be662b6cd"><div class="ttname"><a href="a02853.html#a903db7dd99f0caea5f955a1be662b6cd">tagSVR_INSTANCE_INFO::pcii</a></div><div class="ttdeci">PVOID pcii</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02029">userk.h:2029</a></div></div>
<div class="ttc" id="aa03257_html_a1a25b2f7b86446546fbe19a67e20fc2a"><div class="ttname"><a href="a03257.html#a1a25b2f7b86446546fbe19a67e20fc2a">gpwszDDEMLEVENTCLASS</a></div><div class="ttdeci">LPWSTR gpwszDDEMLEVENTCLASS</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00278">kernel/globals.c:278</a></div></div>
<div class="ttc" id="aa00677_html_aaf276357d4abd2fa6d154ad087db3835"><div class="ttname"><a href="a00677.html#aaf276357d4abd2fa6d154ad087db3835">pmsgs</a></div><div class="ttdeci">#define pmsgs</div></div>
<div class="ttc" id="aa02449_html"><div class="ttname"><a href="a02449.html">_LARGE_STRING</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00266">user.h:266</a></div></div>
<div class="ttc" id="aa00371_html_a162a73e20dfabca084a3ebb4581631a8"><div class="ttname"><a href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a></div><div class="ttdeci">#define UserAssert(exp)</div><div class="ttdef"><b>Definition:</b> <a href="a00950_source.html#l00117">usersrv.h:117</a></div></div>
<div class="ttc" id="aa00365_html_a8825dfa6397f98fa6be0dcbf10e57c7d"><div class="ttname"><a href="a00365.html#a8825dfa6397f98fa6be0dcbf10e57c7d">_GetWindowLong</a></div><div class="ttdeci">DWORD _GetWindowLong(PWND pwnd, int index, BOOL bAnsi)</div><div class="ttdef"><b>Definition:</b> <a href="a03248_source.html#l00028">rtl/getset.c:28</a></div></div>
<div class="ttc" id="aa00695_html_a4e6ee8871cf6323bdd048608605667b1"><div class="ttname"><a href="a00695.html#a4e6ee8871cf6323bdd048608605667b1">HMFreeObject</a></div><div class="ttdeci">BOOL HMFreeObject(PVOID pobj)</div><div class="ttdef"><b>Definition:</b> <a href="a00695_source.html#l00575">handtabl.c:575</a></div></div>
<div class="ttc" id="aa02853_html_a1e282ec8e4fc8b8fb6975e40e2430e64"><div class="ttname"><a href="a02853.html#a1e282ec8e4fc8b8fb6975e40e2430e64">tagSVR_INSTANCE_INFO::nextInThisThread</a></div><div class="ttdeci">struct tagSVR_INSTANCE_INFO * nextInThisThread</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02026">userk.h:2026</a></div></div>
<div class="ttc" id="aa00842_html_a69cf2e14dcefd941469ad5126e40f79a"><div class="ttname"><a href="a00842.html#a69cf2e14dcefd941469ad5126e40f79a">xxxSendMessage</a></div><div class="ttdeci">LONG xxxSendMessage(PWND pwnd, UINT message, DWORD wParam, LONG lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00842_source.html#l00613">sendmsg.c:613</a></div></div>
<div class="ttc" id="aa00257_html_a8315d2c807ba18ba9e528c40614b6173"><div class="ttname"><a href="a00257.html#a8315d2c807ba18ba9e528c40614b6173">PtiCurrent</a></div><div class="ttdeci">PTHREADINFO PtiCurrent(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00263_source.html#l00526">winmgrc.c:526</a></div></div>
<div class="ttc" id="aa00677_html_aeedf4ff87347e042a697331c6ca6b469"><div class="ttname"><a href="a00677.html#aeedf4ff87347e042a697331c6ca6b469">MonitorFlags</a></div><div class="ttdeci">DWORD MonitorFlags</div><div class="ttdef"><b>Definition:</b> <a href="a00677_source.html#l00017">event.c:17</a></div></div>
<div class="ttc" id="aa00899_html_ae72c9c142d253805abc09ebec8767c25"><div class="ttname"><a href="a00899.html#ae72c9c142d253805abc09ebec8767c25">SVR_INSTANCE_INFO</a></div><div class="ttdeci">struct tagSVR_INSTANCE_INFO SVR_INSTANCE_INFO</div></div>
<div class="ttc" id="aa02889_html_a285bd9fb68fc6751850f4171f6e518cd"><div class="ttname"><a href="a02889.html#a285bd9fb68fc6751850f4171f6e518cd">tagTHREADINFO::psiiList</a></div><div class="ttdeci">PSVR_INSTANCE_INFO psiiList</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02320">userk.h:2320</a></div></div>
<div class="ttc" id="aa00677_html_a59b0037ee57cbbcaedc19b92de4752ba"><div class="ttname"><a href="a00677.html#a59b0037ee57cbbcaedc19b92de4752ba">ChangeMonitorFlags</a></div><div class="ttdeci">VOID ChangeMonitorFlags(PSVR_INSTANCE_INFO psii, DWORD afCmdNew)</div><div class="ttdef"><b>Definition:</b> <a href="a00677_source.html#l00062">event.c:62</a></div></div>
<div class="ttc" id="aa00365_html_a220fc5ccf372311b02fbe4ac4ab35d31"><div class="ttname"><a href="a00365.html#a220fc5ccf372311b02fbe4ac4ab35d31">PSVR_INSTANCE_INFO</a></div><div class="ttdeci">struct tagSVR_INSTANCE_INFO * PSVR_INSTANCE_INFO</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00054">user.h:54</a></div></div>
<div class="ttc" id="aa00650_html_aeedf4ff87347e042a697331c6ca6b469"><div class="ttname"><a href="a00650.html#aeedf4ff87347e042a697331c6ca6b469">MonitorFlags</a></div><div class="ttdeci">DWORD MonitorFlags</div><div class="ttdef"><b>Definition:</b> <a href="a00677_source.html#l00017">event.c:17</a></div></div>
<div class="ttc" id="aa02853_html_aaf360baf59a422f99853d05627f85954"><div class="ttname"><a href="a02853.html#aaf360baf59a422f99853d05627f85954">tagSVR_INSTANCE_INFO::spwndEvent</a></div><div class="ttdeci">PWND spwndEvent</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02028">userk.h:2028</a></div></div>
<div class="ttc" id="aa00647_html_a285bd9fb68fc6751850f4171f6e518cd"><div class="ttname"><a href="a00647.html#a285bd9fb68fc6751850f4171f6e518cd">psiiList</a></div><div class="ttdeci">PSVR_INSTANCE_INFO psiiList</div><div class="ttdef"><b>Definition:</b> <a href="a00647_source.html#l00015">ddemlsvr.c:15</a></div></div>
<div class="ttc" id="aa02625_html"><div class="ttname"><a href="a02625.html">tagMENU</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01992">user.h:1992</a></div></div>
<div class="ttc" id="aa00563_html_a074685e97e89d6aa2accdfcb82328699"><div class="ttname"><a href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a></div><div class="ttdeci">ddeml v[i&lt; inst &gt;][t&lt; type &gt;][hObj|pObj] Dump DDEML state information ddeml lists all ddeml instances for this process n ddeml t&lt; type &gt; lists all ddeml objects of the given type n n assumes link is first DWORD</div><div class="ttdef"><b>Definition:</b> <a href="a00563_source.html#l00175">exts.h:175</a></div></div>
<div class="ttc" id="aa01881_html"><div class="ttname"><a href="a01881.html">_TL</a></div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00347">usercli.h:347</a></div></div>
<div class="ttc" id="aa02489_html_accb7763fe0472c644c52d811f816df4c"><div class="ttname"><a href="a02489.html#accb7763fe0472c644c52d811f816df4c">tagEVENT_PACKET::fSense</a></div><div class="ttdeci">WORD fSense</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00511">user.h:511</a></div></div>
<div class="ttc" id="aa02581_html"><div class="ttname"><a href="a02581.html">tagWND</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01388">user.h:1388</a></div></div>
<div class="ttc" id="aa00647_html_a6f12136fa17bb8e8d480fecd7431a391"><div class="ttname"><a href="a00647.html#a6f12136fa17bb8e8d480fecd7431a391">xxxDestroyThreadDDEObject</a></div><div class="ttdeci">VOID xxxDestroyThreadDDEObject(PTHREADINFO pti, PSVR_INSTANCE_INFO psii)</div><div class="ttdef"><b>Definition:</b> <a href="a00647_source.html#l00127">ddemlsvr.c:127</a></div></div>
<div class="ttc" id="aa00365_html_a4dddfac60ddaa5a11f91719826b7b270"><div class="ttname"><a href="a00365.html#a4dddfac60ddaa5a11f91719826b7b270">RtlInitLargeUnicodeString</a></div><div class="ttdeci">VOID RtlInitLargeUnicodeString(PLARGE_UNICODE_STRING plstr, LPCWSTR psz, UINT cchLimit)</div><div class="ttdef"><b>Definition:</b> <a href="a00932_source.html#l00587">chartran.c:587</a></div></div>
<div class="ttc" id="aa02489_html_a019f1133637c1131f856d4110d7aafd5"><div class="ttname"><a href="a02489.html#a019f1133637c1131f856d4110d7aafd5">tagEVENT_PACKET::cbEventData</a></div><div class="ttdeci">WORD cbEventData</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00512">user.h:512</a></div></div>
<div class="ttc" id="aa00635_html_a5a00338a3147879f7fa0ecb4a938cd8c"><div class="ttname"><a href="a00635.html#a5a00338a3147879f7fa0ecb4a938cd8c">xxxDestroyWindow</a></div><div class="ttdeci">BOOL xxxDestroyWindow(PWND pwnd)</div><div class="ttdef"><b>Definition:</b> <a href="a00635_source.html#l01273">createw.c:1273</a></div></div>
<div class="ttc" id="aa02853_html_a9735d28a0381236e8c20f45a431efd55"><div class="ttname"><a href="a02853.html#a9735d28a0381236e8c20f45a431efd55">tagSVR_INSTANCE_INFO::afCmd</a></div><div class="ttdeci">DWORD afCmd</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02027">userk.h:2027</a></div></div>
<div class="ttc" id="aa02489_html_ad931bbe5d49de29afb20597eb9ae0bb3"><div class="ttname"><a href="a02489.html#ad931bbe5d49de29afb20597eb9ae0bb3">tagEVENT_PACKET::EventType</a></div><div class="ttdeci">DWORD EventType</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00510">user.h:510</a></div></div>
<div class="ttc" id="aa00293_html_a41d387d1b2d42169cbaa2092c8a02abf"><div class="ttname"><a href="a00293.html#a41d387d1b2d42169cbaa2092c8a02abf">ValidateHwnd</a></div><div class="ttdeci">#define ValidateHwnd(hwnd)</div><div class="ttdef"><b>Definition:</b> <a href="a00293_source.html#l00090">immcli.h:90</a></div></div>
<div class="ttc" id="aa00365_html_ab993ad57b0d56b4f9b64df02256b611c"><div class="ttname"><a href="a00365.html#ab993ad57b0d56b4f9b64df02256b611c">HMValidateHandleNoRip</a></div><div class="ttdeci">PVOID FASTCALL HMValidateHandleNoRip(HANDLE h, BYTE btype)</div><div class="ttdef"><b>Definition:</b> <a href="a03752_source.html#l00303">rtl/wow.c:303</a></div></div>
<div class="ttc" id="aa03608_html_afd1a0e78d1f88954d93e48ab3821781f"><div class="ttname"><a href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a></div><div class="ttdeci">typedef UINT(FAR WINAPI *MSGSOUNDPROC)()</div></div>
<div class="ttc" id="aa03242_html_a5fe71cbbe99e9b25808ced78e3bc5b32"><div class="ttname"><a href="a03242.html#a5fe71cbbe99e9b25808ced78e3bc5b32">xxxSetWindowLong</a></div><div class="ttdeci">DWORD xxxSetWindowLong(PWND pwnd, int index, DWORD dwData, BOOL bAnsi)</div><div class="ttdef"><b>Definition:</b> <a href="a03242_source.html#l00256">kernel/getset.c:256</a></div></div>
<div class="ttc" id="aa00899_html_a70b09c3e2b495630f4205d34be505afb"><div class="ttname"><a href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock</a></div><div class="ttdeci">VOID CheckLock(PVOID pobj)</div></div>
<div class="ttc" id="aa00677_html_aca74961d0036b8ae855be8a9234df247"><div class="ttname"><a href="a00677.html#aca74961d0036b8ae855be8a9234df247">pep</a></div><div class="ttdeci">#define pep</div></div>
<div class="ttc" id="aa02489_html"><div class="ttname"><a href="a02489.html">tagEVENT_PACKET</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00509">user.h:509</a></div></div>
<div class="ttc" id="aa02889_html"><div class="ttname"><a href="a02889.html">tagTHREADINFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02260">userk.h:2260</a></div></div>
<div class="ttc" id="aa00365_html_af616254250e3e93b5aeb552683e8ed71"><div class="ttname"><a href="a00365.html#af616254250e3e93b5aeb552683e8ed71">PEVENT_PACKET</a></div><div class="ttdeci">struct tagEVENT_PACKET * PEVENT_PACKET</div></div>
<div class="ttc" id="aa02853_html_ad2a9221d4b6ea846e1234e053043f843"><div class="ttname"><a href="a02853.html#ad2a9221d4b6ea846e1234e053043f843">tagSVR_INSTANCE_INFO::next</a></div><div class="ttdeci">struct tagSVR_INSTANCE_INFO * next</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02025">userk.h:2025</a></div></div>
<div class="ttc" id="aa00677_html_ae3559d807d2d49135fab5f210f588f46"><div class="ttname"><a href="a00677.html#ae3559d807d2d49135fab5f210f588f46">aMonitorCount</a></div><div class="ttdeci">MONITOR_COUNT aMonitorCount[C_MONITOR_COUNT]</div><div class="ttdef"><b>Definition:</b> <a href="a00677_source.html#l00026">event.c:26</a></div></div>
<div class="ttc" id="aa02457_html"><div class="ttname"><a href="a02457.html">_LARGE_UNICODE_STRING</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00280">user.h:280</a></div></div>
<div class="ttc" id="aa00677_html_aab16384dcc46d8d656f9d5fd5d40484a"><div class="ttname"><a href="a00677.html#aab16384dcc46d8d656f9d5fd5d40484a">xxxCsEvent</a></div><div class="ttdeci">DWORD xxxCsEvent(PEVENT_PACKET pep)</div><div class="ttdef"><b>Definition:</b> <a href="a00677_source.html#l00114">event.c:114</a></div></div>
<div class="ttc" id="aa02713_html_a45c8f1ff198e164451795c949f64747a"><div class="ttname"><a href="a02713.html#a45c8f1ff198e164451795c949f64747a">tagMONITOR_COUNT::iCount</a></div><div class="ttdeci">int iCount</div><div class="ttdef"><b>Definition:</b> <a href="a00677_source.html#l00020">event.c:20</a></div></div>
<div class="ttc" id="aa03257_html_a4ae1966258068576cf2be4cc7356924b"><div class="ttname"><a href="a03257.html#a4ae1966258068576cf2be4cc7356924b">hModuleWin</a></div><div class="ttdeci">HANDLE hModuleWin</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00324">kernel/globals.c:324</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_4e091ed8704426a7a4980368ba259fde.html">git</a></li><li class="navelem"><a class="el" href="dir_cd70cb5eb491250157f2d55d3ff4b13e.html">backup</a></li><li class="navelem"><a class="el" href="dir_ba2b673b566ba104b956abdc6dec0552.html">org</a></li><li class="navelem"><a class="el" href="dir_5bb0003d7907b45051943541418399f5.html">ntuser</a></li><li class="navelem"><a class="el" href="dir_2a0a56546b70a0973705719e6a88eab3.html">kernel</a></li><li class="navelem"><a class="el" href="a00650.html">ddemlsvr.h</a></li>
    <li class="footer">制作者
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
